package com.zmht.beike.biz;

import java.util.List;

import com.zmht.beike.core.BaseBiz;
import com.zmht.beike.po.TCognition;

public interface CognitionBiz extends BaseBiz {
	/**
	 * 根据学生id 获得记录
	 * @param studentId
	 * @return
	 */
	public TCognition findByStudentId(String studentId);
	/**
	 * 根据id 获得记录
	 * @param id
	 * @return
	 */
	public TCognition findById(java.io.Serializable id);
	/**
	 * 保存记录
	 * @param cognition
	 * @return
	 */
	public boolean saveTCognition(TCognition cognition);
	/**
	 * 更新记录
	 * @param cognition
	 * @return
	 */
	public boolean updateTCognition(TCognition cognition);
	/**
	 * 
	 * @param studentId
	 * @return
	 */
	public List<TCognition> findByStudent(String studentId,String startTime,String endTime);
	
}
